<!-- box login --> 
<?php $this->renderPartial("application.views.layouts._menu");?>
<!-- end box login -->
<?php 
    $url= Yii::app()->params['base_url'].'upload/modgame/'.$_SESSION['username'].'/modapk/'.date("Y/md",$data['create_date']).'/'.$data['filename']; 
    //$url = "http://www.youtube.com/watch?v=FLLlXJ6jUzc";
    //echo Common::bitly_shorten($url) ; 
?>
<div class="about">
    <?php $this->widget("BoxLogin");?>
    <h1><a><img class="kc_TB_td" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-DS-ma-nhung.png"></a><a class="xanhdam" href="#">Gắn File Thành Công</a>
    </h1>
    <div class="APK">
        File Tải<br>
        <a href="<?php echo $url; ?>"><img width="16" height="14" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-tai.png"> <strong class="do"><?php echo $data['filename']; ?></strong></a>
    </div>
    <div class="APK">
        Link Tải<br>
        <textarea class="onhap_banner" rows="2" cols="0" name="ma"><?php echo Common::sanitize_output(Common::bitly_shorten($url)); ?></textarea>
    </div>
    <div class="APK">
        Html code:<br>
        <textarea class="onhap_banner" rows="2" cols="0" name="ma"><?php echo Common::sanitize_output('<a href="'.Common::sanitize_output(Common::bitly_shorten($url)).'">Tải file '.$data['filename'].'</a>') ?></textarea>
    </div>
    <div class="APK">
        BB code:<br>
        <textarea class="onhap_banner" rows="2" cols="0" name="ma"><?php echo Common::sanitize_output('[url="'.Common::sanitize_output(Common::bitly_shorten($url)).'"]Tải file '.$data['filename'].'[/url]') ?></textarea>
    </div>
    <div class="APK_5">
        <a class="button_APK" href="<?php echo Url::createUrl("service/attachPaymentApkOption") ?>">Tạo File Khác</a>
    </div>
    <div class="APK_3">
        <img width="9" height="9" class="kc_TB_td" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-thongbao-tieude.gif"><a href="<?php echo Url::createUrl("service/gameModListApk"); ?>" class="do"><strong>Danh Sách File Đã Gắn</strong></a>
    </div>
    <!-- box footer -->
    <?php $this->widget("BoxFooter");?>
    <!-- end box footer -->   
  </div>